home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / programs_-_include / ASM-PPC / FADS.H < prev    next >
C/C++ Source or Header  |  1999-09-17  |  1KB  |  40 lines

  1.  
  2. /*
  3.  * A collection of structures, addresses, and values associated with
  4.  * the Motorola 860T FADS board.  Copied from the MBX stuff.
  5.  *
  6.  * Copyright (c) 1998 Dan Malek (dmalek@jlc.net)
  7.  */
  8. #ifndef __MACH_FADS_DEFS
  9. #define __MACH_FADS_DEFS
  10.  
  11. /* A Board Information structure that is given to a program when
  12.  * prom starts it up.
  13.  */
  14. typedef struct bd_info {
  15.     unsigned int    bi_memstart;    /* Memory start address */
  16.     unsigned int    bi_memsize;    /* Memory (end) size in bytes */
  17.     unsigned int    bi_intfreq;    /* Internal Freq, in Hz */
  18.     unsigned int    bi_busfreq;    /* Bus Freq, in Hz */
  19. } bd_t;
  20.  
  21. extern bd_t m8xx_board_info;
  22.  
  23. /* Memory map is configured by the PROM startup.
  24.  * I tried to follow the FADS manual, although the startup PROM
  25.  * dictates this.
  26.  */
  27. #define BCSR_ADDR        ((uint)0x02100000)
  28. #define BCSR_SIZE        ((uint)(64 * 1024))
  29. #define    BCSR0            ((uint)0x02100000)
  30. #define    BCSR1            ((uint)0x02100004)
  31. #define    BCSR2            ((uint)0x02100008)
  32. #define    BCSR3            ((uint)0x0210000c)
  33. #define    BCSR4            ((uint)0x02100010)
  34. #define IMAP_ADDR        ((uint)0x02200000)
  35. #define IMAP_SIZE        ((uint)(64 * 1024))
  36. #define PCMCIA_MEM_ADDR        ((uint)0x04000000)
  37. #define PCMCIA_MEM_SIZE        ((uint)(64 * 1024))
  38.  
  39. #endif
  40.